﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Master/Site.master" AutoEventWireup="false" ValidateRequest="false"
    CodeFile="SingleUseTokenRequest.aspx.vb" Inherits="private_secure_admin_SingleUseTokenRequest" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <h2>
        Single-Use Token Request
    </h2>
    <br />
    You can request a login <strong>for yourself</strong> for those situations where you 
    plan to log into this site from a public place but prefer not to use your regular
    credentials, to prevent future fraud.
    <br />
    <br />
    To use this feature you will need to have 
    specified a
    <asp:HyperLink ID="HyperLink1" runat="server" 
        NavigateUrl="~/private/secure_members/manage/MyDetails.aspx">Contact Mobile</asp:HyperLink>
&nbsp;number with us, to
    which the single-use token will be sent. To use this feature you will need to register
    one with us beforehand.<br />
&nbsp;<br />
    Your token must be use within a 24 hour period after which it expires.
    <br />
    <br />
    You can use the <strong>Single-Use Token</strong> only once. You may have only 
    one single-use token outstanding so that if you request another, before using a 
    previous one, the most recently request token will supercede any previously 
    unused tokens and you will not be able to use any previously issued token - used 
    or unused.<br />
    <br />
    For your security, you will only be able to request a total of 2 single-use tokens
    in any single 24 hour period.
    <br />
    <br />
    <table style="width:50%;">
        <tr>
            <td>
                Username:</td>
            <td>
                <asp:TextBox ID="txtUsername" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                <asp:Button ID="Button1" runat="server" Text="Submit" />
        <asp:Button ID="btnCancel" runat="server" Text="Cancel" CausesValidation="false"/>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
            </td>
        </tr>
    </table>

    <asp:Panel ID="pnlTrialRegistration" runat="server" Style="display: none" CssClass="modalPopup">
        <%--            <asp:Panel ID="Panel1" runat="server" Style="display: none" CssClass="modalPopup" >
        --%>
        <%--                <input id="btnCancel" type="button" value="X" style="float: right; background-color: #FF0000;" />
        --%>
        <asp:Button ID="btnTrialRegistrationClose" runat="server" Text="X" Style="float: right;
            background-color: #FF0000;" />
        <h2>
            Trial user creation status.
        </h2>
        <p>
                <asp:Label ID="lblMsg" runat="server" Text=""></asp:Label>
        </p>
    </asp:Panel>
    <asp:Button ID="btnTrialRegistrationSuccess" runat="server" Text="Button" Style="display: none;" />
    <asp:ModalPopupExtender ID="TrialRegistrationSuccessModalPopupExtender" runat="server"
        PopupControlID="pnlTrialRegistration" DynamicServicePath="" Enabled="True" TargetControlID="btnTrialRegistrationSuccess"
        BackgroundCssClass="modalBackground" DropShadow="true">
    </asp:ModalPopupExtender>

</asp:Content>
